﻿//PlazaMcxTeSysTimeColumns.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Plaza.Metadata
{
	using System;

	/// <summary>
	/// Колонки таблицы, содержащей системное время торгового сервера.
	/// MCXSPOT_INFO_REPL - таблица TESYSTIME.
	/// MCXCC_INFO_REPL - таблица TESYSTIME.
	/// </summary>
	public abstract class PlazaMcxTeSysTimeColumns : PlazaColumns
	{
		internal PlazaMcxTeSysTimeColumns(string tableId)
			: base(tableId)
		{
			Time = new PlazaColumn(TableId, "TIME", typeof(DateTime));
			Date = new PlazaColumn(TableId, "DATE", typeof(DateTime));
			RateDate = new PlazaColumn(TableId, "RATEDATE", typeof(DateTime));
			TomorrowDate = new PlazaColumn(TableId, "TOMORROWDATE", typeof(DateTime));
		}

		/// <summary>
		/// Текущее время торгового сервера.
		/// </summary>
		public readonly PlazaColumn Time;

		/// <summary>
		/// Текущая дата торгового сервера.
		/// </summary>
		public readonly PlazaColumn Date;

		/// <summary>
		/// Дата ставок.
		/// </summary>
		public readonly PlazaColumn RateDate;

		/// <summary>
		/// Дата следующих торгов.
		/// </summary>
		public readonly PlazaColumn TomorrowDate;
	}
}
